﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="VerTodosClientes.aspx.cs" Inherits="NewTierra.Pages.Cliente.VerTodosClientes" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">

    <link href="../../Styles/EstiloGeral.css" rel="stylesheet" />

    <title></title>

    <style type="text/css">
        #VerClientes
        {
            height: 467px;
            width: 739px;
        }
        #VerClientes .GridClientes
        {
            height: 439px;
            width: 643px;
            padding: 10px;
            float: left;
        }
        .scrollGridClientes 
        {
            width: 675px; 
            height: 421px; 
            overflow: auto; 
            padding:5px;
        }

    </style>

</head>
<body>
    <form id="form1" runat="server">

        <div id="VerClientes">

                <fieldset style="height: 457px; width: 696px;">
                    <legend>Clientes</legend>

                    <div class="scrollGridClientes">

                        <asp:GridView ID="GridListClientes"
                            runat="server"
                            AutoGenerateColumns="False"
                            GridLines="None"
                            CssClass="mGrid"
                            EmptyDataText="Não existe clientes cadastrado."
                            Height="16px"
                            Width="16px"
                            PageSize="10">

                            <AlternatingRowStyle CssClass="alt"></AlternatingRowStyle>
                            <SelectedRowStyle CssClass="SelectedRowStyle" />
                            <Columns>

                                <asp:BoundField DataField="Cliente_id" HeaderText="ID" ReadOnly="True"
                                    SortExpression="Cliente_id" InsertVisible="False">
                                    <FooterStyle CssClass="invisible" />
                                    <HeaderStyle CssClass="invisible" />
                                    <ItemStyle CssClass="invisible" />
                                </asp:BoundField>

                                <asp:BoundField DataField="Cliente_nome" HeaderText="Nome"
                                    SortExpression="Cliente_nome">
                                    <ItemStyle Wrap="False" />
                                </asp:BoundField>

                                <asp:BoundField DataField="Cliente_email" HeaderText="Email"
                                    SortExpression="Cliente_email">
                                    <ItemStyle Wrap="False" />
                                </asp:BoundField>                                

                            </Columns>

                            <PagerStyle CssClass="pgr"></PagerStyle>

                        </asp:GridView>

                        <asp:Label ID="lblMsgListClientes" Text="" runat="server" />
                    </div>

                </fieldset>

        </div>

    </form>
</body>
</html>
